package createPattern.factoryPattern.abstractFactory.factory.factoryImp;

import createPattern.factoryPattern.abstractFactory.carProduct.BugattiCar;
import createPattern.factoryPattern.abstractFactory.carProduct.Car;
import createPattern.factoryPattern.abstractFactory.factory.IFactory;
import createPattern.factoryPattern.abstractFactory.maintenanceProduct.BugattiMaintence;
import createPattern.factoryPattern.abstractFactory.maintenanceProduct.Maintenance;

public class BugattiFactory implements IFactory {

	@Override
	public Car getCar(String name, String color) {
		return new BugattiCar(name, color);
	}

	@Override
	public Maintenance getMaintenance(int cost) {
		return new BugattiMaintence(cost);
	}

}
